PhpMyAdmin\Server\Privileges D

Total Complexity 692
Dependencies 10
Dependents 3
Total lines 5,663
Lines of code 4,167
Logical lines of code 1,508
Comment lines 904
Methods 83
Properties 4

Methods 83

Method Rating Maintainability Complexity Lines of code
getSqlQueriesForDisplayAndAddUser()
D
23
48 201
getHtmlForLoginInformationFields()
D
20
44 235
getDataForDBInfo()
D
33 32 103
addUser()
C
29
27 141
updatePassword()
C
29 27 130
getHtmlTableBodyForUserRights()
C
31 22 119
extractPrivInfo()
C
39 25 61
updatePrivileges()
C
36 24 74
getHtmlForAllTableSpecificRights()
C
29 19 139
getExtraDataForAjaxBehavior()
C
32 21 107
getHtmlForUserOverview()
B
30 18 133
getHtmlListOfPrivs()
B
34 20 95
getHtmlToDisplayPrivilegesTable()
B
35 18 91
getDataForChangeOrCopyUser()
B
40 20 57
getWithClauseForAddUserAndUpdatePrivs()
B
45 21 38
getHtmlForUserProperties()
B
37 16 80
getTablePrivsQueriesForChangeOrCopyUser()
B
38 16 71
getHtmlForRequires()
B
37 13 94
getUserSpecificRights()
A
36 12 85
addUserAndCreateDatabase()
A
39 13 70
getHtmlHeaderForUserProperties()
A
38 10 77
getRequireClause()
A
49 12 30
getUserLink()
A
43 10 52
getCurrentAuthenticationPlugin()
A
47 11 36
getHtmlForNotAttachedPrivilegesToTableSpecificColumn()
A
41 9 62
getGrantsArray()
A
31 1 163
getHtmlTableBodyForSpecificDbOrTablePrivs()
A
42 8 57
getStructurePrivilegeTable()
A
39 6 80
setUserGroup()
A
47 9 34
getHtmlTableBodyForSpecificDbRoutinePrivs()
A
41 7 59
getUsersOverview()
A
41 6 59
deleteUser()
A
49 7 32
getAdministrationPrivilegeTable()
S
39 3 83
getHtmlForGlobalOrDbSpecificPrivs()
S
44 5 48
getHtmlForSpecificDbPrivileges()
S
41 4 61
getHtmlForResourceLimits()
S
47 5 42
getDbRightsForUserOverview()
S
46 5 39
getHtmlForInitials()
S
52 6 23
checkIfMariaDBPwdCheckPluginActive()
S
56 6 18
getDataForDeleteUsers()
S
49 5 32
getHtmlForAddUser()
S
43 3 52
getHtmlToChooseUserGroup()
S
49 4 32
getHtmlForSpecificTablePrivileges()
S
41 2 60
getHtmlForTableSpecificPrivileges()
S
45 3 43
getAddUserHtmlFieldset()
S
54 4 23
getUserGroupForUser()
S
54 4 23
getChangeLoginInformationHtmlForm()
S
44 2 51
getListForExportUserDefinition()
S
48 3 36
getUsernameAndHostnameLength()
S
55 4 21
getHtmlForAuthPluginsDropdown()
S
54 4 21
getActiveAuthPlugins()
S
58 4 16
getHtmlForUserGroupDialog()
S
59 4 14
getDataForQueries()
S
61 4 13
mergePrivMapFromResult()
S
61 4 13
getDbSpecificPrivsQueriesForChangeOrCopyUser()
S
52 3 24
getLinkToDbAndTable()
S
48 2 39
fillInTablePrivileges()
S
54 3 21
getSqlQueryForDisplayPrivTable()
S
56 3 19
getDataPrivilegeTable()
S
51 2 33
getListOfPrivilegesAndComparedPrivileges()
S
46 1 48
parseProcPriv()
S
59 3 15
wildcardEscapeForGrant()
S
60 3 15
updateMessageForReload()
S
60 3 14
getTableGrantsArray()
S
48 1 44
rangeOfUsers()
S
63 3 11
getHtmlForAttachedPrivilegesToTableSpecificColumn()
S
49 1 39
getMessageAndSqlQueryForPrivilegesRevoke()
S
53 2 23
getHtmlForRoutineSpecificPrivileges()
S
48 1 36
setProperPasswordHashing()
S
66 3 9
getRoutineType()
S
65 3 9
getGrants()
S
62 2 12
getTriggerPrivilegeTable()
S
56 1 23
getPrivMap()
S
54 1 22
formatPrivilege()
S
69 2 7
getUserGroupCount()
S
61 1 13
getHtmlForPrivsTableHead()
S
61 1 13
getHtmlForColumnPrivileges()
S
62 1 11
getFieldsetForAddDeleteUser()
S
73 1 5
getUserGroupEditLink()
S
66 1 8
getHtmlForViewUsersError()
S
75 1 5
getHtmlForGlobalPrivTableWithCheckboxes()
S
68 1 7
getHashedPassword()
S
69 1 7
__construct()
S
71 1 6